const merge = require("webpack-merge").merge; //5.x改版
const webpack = require("webpack");

const common = require("./webpack.common");
module.exports = merge(common, {
  mode: "development",
  devtool: "cheap-eval-module-source-map",
  devServer: {
    contentBase: "public",
    open: true,
    port: 8085,
  },
  plugins: [new webpack.HotModuleReplacementPlugin()],
});
